package com.pkk.penguin.frame.know.java.driven.beanleftcycle.bean;

import lombok.extern.slf4j.Slf4j;

/**
 * @description: 一个bean
 * @author: peikunkun
 * @create: 2020-08-04 11:17
 **/
@Slf4j
public class BeanLeftCycleBean {


  public BeanLeftCycleBean() {
    System.out.println(this.getClass().getSimpleName() + "【构造器】 Constructor ...");
  }

  public void init() {
    System.out.println(this.getClass().getSimpleName() + " init ...");
  }


  public void destory() {
    System.out.println(this.getClass().getSimpleName() + " destory ...");
  }
}
